package com.ittony.blog.service.impl;

import com.ittony.blog.entity.User;
import com.ittony.blog.mapper.ArticleMapper;
import com.ittony.blog.mapper.UserMapper;
import com.ittony.blog.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Autowired
    private ArticleMapper articleMapper;

    @Autowired

    @Override
    public List<User> listUser() {
        return List.of();
    }

    @Override
    public User getUserById(Integer id) {
        return null;
    }

    @Override
    public void updateUser(User user) {

    }

    @Override
    public void deleteUser(Integer id) {

    }

    @Override
    public User insertUser(User user) {
        return null;
    }

    @Override
    public User getUserByNameOrEmail(String str) {
        return null;
    }

    @Override
    public User getUserByName(String name) {
        return null;
    }

    @Override
    public User getUserByEmail(String email) {
        return null;
    }

}
